export default {
  //  菜单
  menu: [],
  //  项目ID
  project_id: '',
  //  公司列表
  company: [],
  //  用户信息
  userinfo: {},
  //  测量单元信息
  unit: [
    { type: 0, name: '全部', icon: '' },
    { type: 1, name: '拱顶下沉', icon: 'el-icon-dish' },
    { type: 2, name: '净空收敛', icon: 'el-icon-sunrise' },
    { type: 3, name: '地表下沉', icon: 'el-icon-sunset' },
    // { type: 4, name: '净空双侧壁', icon: 'el-icon-sunset' },
    // { type: 4, name: '拱脚下沉', icon: 'el-icon-delete-location' },
    // { type: 5, name: '拱脚位移', icon: 'el-icon-map-location' }
  ],
  unitLint: [
    { value: '', label: '全部' },
    { value: 1, label: '拱顶下沉' },
    { value: 2, label: '净空收敛' },
    { value: 3, label: '地表下沉' }
  ],
  //  设备类型参数中文释义
  dev_type_params: {
    //  全站仪
    10: [
      { label: '检测时间', prop: 'detectionTime', width: '180' },
      { label: '管理等级', prop: 'managerialClass' },
      { label: '施工状态', prop: 'constructionStatus' },
      { label: '数据状态', prop: 'state', width: '110', isDrawChart: true },
      { label: '测量值/mm', prop: 'resultValue', width: '110' },
      { label: '相对上次沉降值/mm', prop: 'variation', width: '150' },
      { label: '沉降速率/mm', prop: 'settlingVelocity', width: '110' },
      { label: '累计沉降/mm', prop: 'cumulativeSubsidence', width: '110', isDrawChart: true },
      { label: '温度', prop: 'temperature' },
      { label: '备注', prop: 'remark', width: '180' }
    ],
    11: [
      { label: '检测时间', prop: 'detectionTime', width: '180' },
      { label: '管理等级', prop: 'managerialClass' },
      { label: '施工状态', prop: 'constructionStatus' },
      { label: '数据状态', prop: 'state', width: '110', isDrawChart: true },
      { label: '相对上次沉降值/mm', prop: 'variation', width: '150' },
      { label: '沉降速率/mm', prop: 'settlingVelocity', width: '110' },
      { label: '累计沉降/mm', prop: 'cumulativeSubsidence', width: '110', isDrawChart: true },
      { label: '温度', prop: 'temperature' },
      { label: '备注', prop: 'remark', width: '180' }
    ],
    12: [
      { label: '检测时间', prop: 'detectionTime', width: '180' },
      { label: '管理等级', prop: 'managerialClass' },
      { label: '施工状态', prop: 'constructionStatus' },
      { label: '相对上次沉降值/mm', prop: 'variation', width: '150' },
      { label: '沉降速率/mm', prop: 'settlingVelocity', width: '110' },
      { label: '累计沉降/mm', prop: 'cumulativeSubsidence', width: '110', isDrawChart: true },
      { label: '温度', prop: 'temperature' },
      { label: '备注', prop: 'remark', width: '180' }
    ],
    //  水准仪
    20: [
      { label: '检测时间', prop: 'detectionTime', width: '180' },
      { label: '管理等级', prop: 'managerialClass' },
      { label: '施工状态', prop: 'constructionStatus' },
      { label: '数据状态', prop: 'state', width: '110', isDrawChart: true },

      // { label: '前视读数A', prop: 'beforePointAElevation' },
      // { label: '前视读数B', prop: 'beforePointBElevation' },
      // { label: '前视读数C', prop: 'beforePointCElevation' },
      // { label: '后视读数', prop: 'backsightPointLength' },
      // { label: '后视高程', prop: 'backsightPointElevation' },
      // { label: '前视高程', prop: 'frontElevation' },
      { label: '相对上次沉降值/mm', prop: 'variation', width: '150' },
      { label: '沉降速率/mm', prop: 'settlingVelocity', width: '110' },
      { label: '累计沉降/mm', prop: 'cumulativeSubsidence', width: '110', isDrawChart: true },

      { label: '温度', prop: 'temperature' },
      { label: '备注', prop: 'remark', width: '180' }
    ],
    //  收敛计
    30: [
      { label: '检测时间', prop: 'detectionTime', width: '180' },
      // { label: '管理等级', prop: 'managerialClass' },
      // { label: '施工状态', prop: 'constructionStatus' },
      { label: '测试次数', prop: 'numberMeasurements' },
      { label: '上次下称值', prop: 'variation' },
      { label: '累计下沉值', prop: 'cumulativeSubsidence' },
      { label: '下沉速率', prop: 'settlingVelocity' },
      // { label: '温度', prop: 'temperature' },
      { label: '备注', prop: 'remark', width: '180' }
    ]
  },
  selectProId: '',
  defaultExpanded: [],
  selectProName: '',
  // positionType: ['标段', '隧道', '隧洞', '断面', '单元', '点'],
  positionType: ['标段', '隧道', '断面', '单元', '点'],
  companyroles: [],
  acounttype: [
    {
      key: '系统管理员',
      value: 0
    },
    {
      key: '用户',
      value: 1
    },
    {
      key: '公司管理员',
      value: 2
    }
  ],

  flagOptions: [
    { name: '无', value: '0', tagType: 'info' },
    { name: '待测量', value: '1', tagType: 'info' },
    { name: '测量中', value: '2', tagType: 'warning' },
    { name: '测量完成', value: '3', tagType: 'success' }
  ],
  stateOptions: [
    { name: 'I级', value: '0', tagType: 'success' },
    { name: 'II级', value: '1', tagType: 'warning' },
    { name: 'III级', value: '2', tagType: 'danger' }
  ],
  statusOptions: [
    { name: '正常', value: '0', tagType: 'success' },
    { name: '禁用', value: '1', tagType: 'info' }
  ],
  instrumentList: []
}
